'''试编程绘制一个8行8列的棋盘，棋盘小方格边长为36像素'''


import turtle as t

t.speed(1)

for i in range(1,9):
    t.forward(36*8)
    t.penup()
    t.goto(0,36*i)
    t.pendown()
t.penup()
t.right(90)
t.forward(36)
t.left(90)
t.pendown()
for i in range(1,9):
    t.right(90)
    t.forward(36*8)
    t.penup()
    t.goto(36*i,36*8)
    t.pendown()
    t.left(90)
turtle.done()
